package com.base.po.voip;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ShopAliOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ShopAliOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andClicktimeIsNull() {
            addCriterion("ClickTime is null");
            return (Criteria) this;
        }

        public Criteria andClicktimeIsNotNull() {
            addCriterion("ClickTime is not null");
            return (Criteria) this;
        }

        public Criteria andClicktimeEqualTo(Date value) {
            addCriterion("ClickTime =", value, "clicktime");
            return (Criteria) this;
        }

        public Criteria andClicktimeNotEqualTo(Date value) {
            addCriterion("ClickTime <>", value, "clicktime");
            return (Criteria) this;
        }

        public Criteria andClicktimeGreaterThan(Date value) {
            addCriterion("ClickTime >", value, "clicktime");
            return (Criteria) this;
        }

        public Criteria andClicktimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ClickTime >=", value, "clicktime");
            return (Criteria) this;
        }

        public Criteria andClicktimeLessThan(Date value) {
            addCriterion("ClickTime <", value, "clicktime");
            return (Criteria) this;
        }

        public Criteria andClicktimeLessThanOrEqualTo(Date value) {
            addCriterion("ClickTime <=", value, "clicktime");
            return (Criteria) this;
        }

        public Criteria andClicktimeIn(List<Date> values) {
            addCriterion("ClickTime in", values, "clicktime");
            return (Criteria) this;
        }

        public Criteria andClicktimeNotIn(List<Date> values) {
            addCriterion("ClickTime not in", values, "clicktime");
            return (Criteria) this;
        }

        public Criteria andClicktimeBetween(Date value1, Date value2) {
            addCriterion("ClickTime between", value1, value2, "clicktime");
            return (Criteria) this;
        }

        public Criteria andClicktimeNotBetween(Date value1, Date value2) {
            addCriterion("ClickTime not between", value1, value2, "clicktime");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("Title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("Title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("Title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("Title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("Title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("Title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("Title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("Title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("Title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("Title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("Title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("Title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("Title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("Title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andCidIsNull() {
            addCriterion("CID is null");
            return (Criteria) this;
        }

        public Criteria andCidIsNotNull() {
            addCriterion("CID is not null");
            return (Criteria) this;
        }

        public Criteria andCidEqualTo(String value) {
            addCriterion("CID =", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotEqualTo(String value) {
            addCriterion("CID <>", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThan(String value) {
            addCriterion("CID >", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThanOrEqualTo(String value) {
            addCriterion("CID >=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThan(String value) {
            addCriterion("CID <", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThanOrEqualTo(String value) {
            addCriterion("CID <=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLike(String value) {
            addCriterion("CID like", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotLike(String value) {
            addCriterion("CID not like", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidIn(List<String> values) {
            addCriterion("CID in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotIn(List<String> values) {
            addCriterion("CID not in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidBetween(String value1, String value2) {
            addCriterion("CID between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotBetween(String value1, String value2) {
            addCriterion("CID not between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNull() {
            addCriterion("Money is null");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNotNull() {
            addCriterion("Money is not null");
            return (Criteria) this;
        }

        public Criteria andMoneyEqualTo(BigDecimal value) {
            addCriterion("Money =", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotEqualTo(BigDecimal value) {
            addCriterion("Money <>", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThan(BigDecimal value) {
            addCriterion("Money >", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("Money >=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThan(BigDecimal value) {
            addCriterion("Money <", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("Money <=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyIn(List<BigDecimal> values) {
            addCriterion("Money in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotIn(List<BigDecimal> values) {
            addCriterion("Money not in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Money between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Money not between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andOutmoneyIsNull() {
            addCriterion("OutMoney is null");
            return (Criteria) this;
        }

        public Criteria andOutmoneyIsNotNull() {
            addCriterion("OutMoney is not null");
            return (Criteria) this;
        }

        public Criteria andOutmoneyEqualTo(BigDecimal value) {
            addCriterion("OutMoney =", value, "outmoney");
            return (Criteria) this;
        }

        public Criteria andOutmoneyNotEqualTo(BigDecimal value) {
            addCriterion("OutMoney <>", value, "outmoney");
            return (Criteria) this;
        }

        public Criteria andOutmoneyGreaterThan(BigDecimal value) {
            addCriterion("OutMoney >", value, "outmoney");
            return (Criteria) this;
        }

        public Criteria andOutmoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("OutMoney >=", value, "outmoney");
            return (Criteria) this;
        }

        public Criteria andOutmoneyLessThan(BigDecimal value) {
            addCriterion("OutMoney <", value, "outmoney");
            return (Criteria) this;
        }

        public Criteria andOutmoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("OutMoney <=", value, "outmoney");
            return (Criteria) this;
        }

        public Criteria andOutmoneyIn(List<BigDecimal> values) {
            addCriterion("OutMoney in", values, "outmoney");
            return (Criteria) this;
        }

        public Criteria andOutmoneyNotIn(List<BigDecimal> values) {
            addCriterion("OutMoney not in", values, "outmoney");
            return (Criteria) this;
        }

        public Criteria andOutmoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OutMoney between", value1, value2, "outmoney");
            return (Criteria) this;
        }

        public Criteria andOutmoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OutMoney not between", value1, value2, "outmoney");
            return (Criteria) this;
        }

        public Criteria andJsmoneyIsNull() {
            addCriterion("JsMoney is null");
            return (Criteria) this;
        }

        public Criteria andJsmoneyIsNotNull() {
            addCriterion("JsMoney is not null");
            return (Criteria) this;
        }

        public Criteria andJsmoneyEqualTo(BigDecimal value) {
            addCriterion("JsMoney =", value, "jsmoney");
            return (Criteria) this;
        }

        public Criteria andJsmoneyNotEqualTo(BigDecimal value) {
            addCriterion("JsMoney <>", value, "jsmoney");
            return (Criteria) this;
        }

        public Criteria andJsmoneyGreaterThan(BigDecimal value) {
            addCriterion("JsMoney >", value, "jsmoney");
            return (Criteria) this;
        }

        public Criteria andJsmoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("JsMoney >=", value, "jsmoney");
            return (Criteria) this;
        }

        public Criteria andJsmoneyLessThan(BigDecimal value) {
            addCriterion("JsMoney <", value, "jsmoney");
            return (Criteria) this;
        }

        public Criteria andJsmoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("JsMoney <=", value, "jsmoney");
            return (Criteria) this;
        }

        public Criteria andJsmoneyIn(List<BigDecimal> values) {
            addCriterion("JsMoney in", values, "jsmoney");
            return (Criteria) this;
        }

        public Criteria andJsmoneyNotIn(List<BigDecimal> values) {
            addCriterion("JsMoney not in", values, "jsmoney");
            return (Criteria) this;
        }

        public Criteria andJsmoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("JsMoney between", value1, value2, "jsmoney");
            return (Criteria) this;
        }

        public Criteria andJsmoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("JsMoney not between", value1, value2, "jsmoney");
            return (Criteria) this;
        }

        public Criteria andYjblIsNull() {
            addCriterion("YjBl is null");
            return (Criteria) this;
        }

        public Criteria andYjblIsNotNull() {
            addCriterion("YjBl is not null");
            return (Criteria) this;
        }

        public Criteria andYjblEqualTo(BigDecimal value) {
            addCriterion("YjBl =", value, "yjbl");
            return (Criteria) this;
        }

        public Criteria andYjblNotEqualTo(BigDecimal value) {
            addCriterion("YjBl <>", value, "yjbl");
            return (Criteria) this;
        }

        public Criteria andYjblGreaterThan(BigDecimal value) {
            addCriterion("YjBl >", value, "yjbl");
            return (Criteria) this;
        }

        public Criteria andYjblGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("YjBl >=", value, "yjbl");
            return (Criteria) this;
        }

        public Criteria andYjblLessThan(BigDecimal value) {
            addCriterion("YjBl <", value, "yjbl");
            return (Criteria) this;
        }

        public Criteria andYjblLessThanOrEqualTo(BigDecimal value) {
            addCriterion("YjBl <=", value, "yjbl");
            return (Criteria) this;
        }

        public Criteria andYjblIn(List<BigDecimal> values) {
            addCriterion("YjBl in", values, "yjbl");
            return (Criteria) this;
        }

        public Criteria andYjblNotIn(List<BigDecimal> values) {
            addCriterion("YjBl not in", values, "yjbl");
            return (Criteria) this;
        }

        public Criteria andYjblBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("YjBl between", value1, value2, "yjbl");
            return (Criteria) this;
        }

        public Criteria andYjblNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("YjBl not between", value1, value2, "yjbl");
            return (Criteria) this;
        }

        public Criteria andYjmoneyIsNull() {
            addCriterion("YjMoney is null");
            return (Criteria) this;
        }

        public Criteria andYjmoneyIsNotNull() {
            addCriterion("YjMoney is not null");
            return (Criteria) this;
        }

        public Criteria andYjmoneyEqualTo(BigDecimal value) {
            addCriterion("YjMoney =", value, "yjmoney");
            return (Criteria) this;
        }

        public Criteria andYjmoneyNotEqualTo(BigDecimal value) {
            addCriterion("YjMoney <>", value, "yjmoney");
            return (Criteria) this;
        }

        public Criteria andYjmoneyGreaterThan(BigDecimal value) {
            addCriterion("YjMoney >", value, "yjmoney");
            return (Criteria) this;
        }

        public Criteria andYjmoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("YjMoney >=", value, "yjmoney");
            return (Criteria) this;
        }

        public Criteria andYjmoneyLessThan(BigDecimal value) {
            addCriterion("YjMoney <", value, "yjmoney");
            return (Criteria) this;
        }

        public Criteria andYjmoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("YjMoney <=", value, "yjmoney");
            return (Criteria) this;
        }

        public Criteria andYjmoneyIn(List<BigDecimal> values) {
            addCriterion("YjMoney in", values, "yjmoney");
            return (Criteria) this;
        }

        public Criteria andYjmoneyNotIn(List<BigDecimal> values) {
            addCriterion("YjMoney not in", values, "yjmoney");
            return (Criteria) this;
        }

        public Criteria andYjmoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("YjMoney between", value1, value2, "yjmoney");
            return (Criteria) this;
        }

        public Criteria andYjmoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("YjMoney not between", value1, value2, "yjmoney");
            return (Criteria) this;
        }

        public Criteria andOrdernumIsNull() {
            addCriterion("OrderNum is null");
            return (Criteria) this;
        }

        public Criteria andOrdernumIsNotNull() {
            addCriterion("OrderNum is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernumEqualTo(String value) {
            addCriterion("OrderNum =", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotEqualTo(String value) {
            addCriterion("OrderNum <>", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumGreaterThan(String value) {
            addCriterion("OrderNum >", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumGreaterThanOrEqualTo(String value) {
            addCriterion("OrderNum >=", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLessThan(String value) {
            addCriterion("OrderNum <", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLessThanOrEqualTo(String value) {
            addCriterion("OrderNum <=", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLike(String value) {
            addCriterion("OrderNum like", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotLike(String value) {
            addCriterion("OrderNum not like", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumIn(List<String> values) {
            addCriterion("OrderNum in", values, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotIn(List<String> values) {
            addCriterion("OrderNum not in", values, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumBetween(String value1, String value2) {
            addCriterion("OrderNum between", value1, value2, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotBetween(String value1, String value2) {
            addCriterion("OrderNum not between", value1, value2, "ordernum");
            return (Criteria) this;
        }

        public Criteria andAgentidIsNull() {
            addCriterion("AgentID is null");
            return (Criteria) this;
        }

        public Criteria andAgentidIsNotNull() {
            addCriterion("AgentID is not null");
            return (Criteria) this;
        }

        public Criteria andAgentidEqualTo(String value) {
            addCriterion("AgentID =", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotEqualTo(String value) {
            addCriterion("AgentID <>", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidGreaterThan(String value) {
            addCriterion("AgentID >", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidGreaterThanOrEqualTo(String value) {
            addCriterion("AgentID >=", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidLessThan(String value) {
            addCriterion("AgentID <", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidLessThanOrEqualTo(String value) {
            addCriterion("AgentID <=", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidLike(String value) {
            addCriterion("AgentID like", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotLike(String value) {
            addCriterion("AgentID not like", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidIn(List<String> values) {
            addCriterion("AgentID in", values, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotIn(List<String> values) {
            addCriterion("AgentID not in", values, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidBetween(String value1, String value2) {
            addCriterion("AgentID between", value1, value2, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotBetween(String value1, String value2) {
            addCriterion("AgentID not between", value1, value2, "agentid");
            return (Criteria) this;
        }

        public Criteria andDatastatusIsNull() {
            addCriterion("DataStatus is null");
            return (Criteria) this;
        }

        public Criteria andDatastatusIsNotNull() {
            addCriterion("DataStatus is not null");
            return (Criteria) this;
        }

        public Criteria andDatastatusEqualTo(Boolean value) {
            addCriterion("DataStatus =", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotEqualTo(Boolean value) {
            addCriterion("DataStatus <>", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusGreaterThan(Boolean value) {
            addCriterion("DataStatus >", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusGreaterThanOrEqualTo(Boolean value) {
            addCriterion("DataStatus >=", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLessThan(Boolean value) {
            addCriterion("DataStatus <", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLessThanOrEqualTo(Boolean value) {
            addCriterion("DataStatus <=", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusIn(List<Boolean> values) {
            addCriterion("DataStatus in", values, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotIn(List<Boolean> values) {
            addCriterion("DataStatus not in", values, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusBetween(Boolean value1, Boolean value2) {
            addCriterion("DataStatus between", value1, value2, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotBetween(Boolean value1, Boolean value2) {
            addCriterion("DataStatus not between", value1, value2, "datastatus");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andReappearingIsNull() {
            addCriterion("Reappearing is null");
            return (Criteria) this;
        }

        public Criteria andReappearingIsNotNull() {
            addCriterion("Reappearing is not null");
            return (Criteria) this;
        }

        public Criteria andReappearingEqualTo(Float value) {
            addCriterion("Reappearing =", value, "reappearing");
            return (Criteria) this;
        }

        public Criteria andReappearingNotEqualTo(Float value) {
            addCriterion("Reappearing <>", value, "reappearing");
            return (Criteria) this;
        }

        public Criteria andReappearingGreaterThan(Float value) {
            addCriterion("Reappearing >", value, "reappearing");
            return (Criteria) this;
        }

        public Criteria andReappearingGreaterThanOrEqualTo(Float value) {
            addCriterion("Reappearing >=", value, "reappearing");
            return (Criteria) this;
        }

        public Criteria andReappearingLessThan(Float value) {
            addCriterion("Reappearing <", value, "reappearing");
            return (Criteria) this;
        }

        public Criteria andReappearingLessThanOrEqualTo(Float value) {
            addCriterion("Reappearing <=", value, "reappearing");
            return (Criteria) this;
        }

        public Criteria andReappearingIn(List<Float> values) {
            addCriterion("Reappearing in", values, "reappearing");
            return (Criteria) this;
        }

        public Criteria andReappearingNotIn(List<Float> values) {
            addCriterion("Reappearing not in", values, "reappearing");
            return (Criteria) this;
        }

        public Criteria andReappearingBetween(Float value1, Float value2) {
            addCriterion("Reappearing between", value1, value2, "reappearing");
            return (Criteria) this;
        }

        public Criteria andReappearingNotBetween(Float value1, Float value2) {
            addCriterion("Reappearing not between", value1, value2, "reappearing");
            return (Criteria) this;
        }

        public Criteria andNotreappearingIsNull() {
            addCriterion("NotReappearing is null");
            return (Criteria) this;
        }

        public Criteria andNotreappearingIsNotNull() {
            addCriterion("NotReappearing is not null");
            return (Criteria) this;
        }

        public Criteria andNotreappearingEqualTo(Float value) {
            addCriterion("NotReappearing =", value, "notreappearing");
            return (Criteria) this;
        }

        public Criteria andNotreappearingNotEqualTo(Float value) {
            addCriterion("NotReappearing <>", value, "notreappearing");
            return (Criteria) this;
        }

        public Criteria andNotreappearingGreaterThan(Float value) {
            addCriterion("NotReappearing >", value, "notreappearing");
            return (Criteria) this;
        }

        public Criteria andNotreappearingGreaterThanOrEqualTo(Float value) {
            addCriterion("NotReappearing >=", value, "notreappearing");
            return (Criteria) this;
        }

        public Criteria andNotreappearingLessThan(Float value) {
            addCriterion("NotReappearing <", value, "notreappearing");
            return (Criteria) this;
        }

        public Criteria andNotreappearingLessThanOrEqualTo(Float value) {
            addCriterion("NotReappearing <=", value, "notreappearing");
            return (Criteria) this;
        }

        public Criteria andNotreappearingIn(List<Float> values) {
            addCriterion("NotReappearing in", values, "notreappearing");
            return (Criteria) this;
        }

        public Criteria andNotreappearingNotIn(List<Float> values) {
            addCriterion("NotReappearing not in", values, "notreappearing");
            return (Criteria) this;
        }

        public Criteria andNotreappearingBetween(Float value1, Float value2) {
            addCriterion("NotReappearing between", value1, value2, "notreappearing");
            return (Criteria) this;
        }

        public Criteria andNotreappearingNotBetween(Float value1, Float value2) {
            addCriterion("NotReappearing not between", value1, value2, "notreappearing");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserID is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("UserID =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("UserID <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("UserID >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("UserID >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("UserID <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("UserID <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("UserID like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("UserID not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("UserID in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("UserID not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("UserID between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("UserID not between", value1, value2, "userid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}